<template>
	<swiper class="images_swiper" autoplay="true" circular="true">
		<swiper-item v-for="(item,index) in image" :key='index'>
			<image v-if="item.path != null" :src="item.path" mode="aspectFill" />
		</swiper-item>
	</swiper>
</template>

<script>
	export default {
		onReady() {
			console.log('image',this.image);
		},
		props: {
			image: {
				type: Array,
				default: () => []
			}
		}
	}
</script>

<style>
	swiper {
		width: 100vw;
		height: 100vw;
	}

	swiper swiper-item {
		width: 100vw;
		height: 100vw;
	}

	swiper swiper-item image {
		width: 100vw;
		height: 100vw;
	}
</style>
